package com.bang.thread;

/*
  @author: 13813
  @date: 2024/11/25 14:23
*/
public class ThreadDemo01 extends Thread {

    public ThreadDemo01(String name) {
        super(name);
    }

    @Override
    public void run() {
        //线程干活
        for (int i = 0; i < 10; i++) {
            System.out.println(Thread.currentThread().getName() + " :" + i);
        }
    }
}
